package com.fram.mapper;

import java.util.List;

import com.fram.bean.api.news.request.CommentSearchRequest;
import com.fram.bean.api.news.response.CommentSearchResponse;
import com.fram.entity.NewsComment;

public interface NewsCommentMapper {
	int deleteByPrimaryKey(Long id);

	int insert(NewsComment record);

	int insertSelective(NewsComment record);

	NewsComment selectByPrimaryKey(Long id);

	int updateByPrimaryKeySelective(NewsComment record);

	int updateByPrimaryKey(NewsComment record);

	/** 前端查询评论列表 **/
	List<CommentSearchResponse> selectCommentForApiList(CommentSearchRequest request);
	
}